<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>客服中心</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/JavaScript"> 
navHover = function() { 

} 
lis[i].onmouseout=function() { 
this.className=this.className.replace(new RegExp(" iehover\\b"), ""); 
} 
} 
} 
if (window.attachEvent) window.attachEvent("onload", navHover); 
function check_pic(str) {
	str=''+str;
	if(str=='') return true;
	var tmp=str.substr(1,2);
	if(tmp==':/' || tmp==':\\') return true;
	else return false;
}
function check_post(obj) {
  if(check_pic(obj.pic1.value) && check_pic(obj.pic2.value) && check_pic(obj.pic3.value)) obj.submit();
  else alert('文件上传格式错误');
  return false;
}
</script> 
<script language="javascript" type="text/javascript" src="tpl/datepicker/WdatePicker.js"></script>
<body>

{{include file="tpl/header.tpl"}}

<div class="content">
{{include file="tpl/left.tpl"}}
    <div class="right_sidebar">
		<div class="right_sidebar_title">您所在的位置：客服中心 &gt; 我的提问 &gt; {{$send->class_info.title}}</div>
		
        <div class="kf_tj">

         {{include file="tpl/question.tpl"}}


		<div class="kf_fj_que">
		<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="check_post(this);return false;">		
					<ul>
						<li style="font-size:14px; color:#eb9000; padding-top:20px;"><strong>我要提问 -- {{$send->class_info.title}} ( {{$send->class_info.list_title}} )</strong></li>
						<li style="margin-top:65px;"><strong>我要提问的标题：</strong> 
					  <input name="title" type="text" class="ask" id="title" style="width:305px" value="{{$tmp_title}}" />
						</li>
						<li><strong>出现问题的时间：</strong> 
						<input name="time"  type="text" class="ask" id="time" onfocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true)" style="background:url(img/datePicker.gif) no-repeat right;" value="{{$send->happen_time}}"  />
						</li>
						<li><strong>详细描述：</strong></li>
						<li><textarea name="content" id="content" cols="50" rows="8">{{$tmp_content}}</textarea>
						</li>
						<li><strong>截图1：</strong></li>
						<li><input class="ask" name="pic1" type="file" id="pic1" style="width:420px" /></li>
						<li><strong>截图2：</strong></li>
						<li><input class="ask" name="pic2" type="file" id="pic2" style="width:420px" /></li>
						<li><strong>截图3：</strong></li>
						<li><input class="ask" name="pic3" type="file" id="pic3" style="width:420px"  /></li>
						<li style="margin-top:10px;"><input name="" type="image" src="img/9way_cs_tj.gif"  />
						<input name="class_id" type="hidden" id="class_id" value="{{$send->class_info.id}}" /></li>
					</ul>
		</form>			
				</div>




	    </div>
	</div>

</div>
{{include file="tpl/footer.tpl"}}
</body>
</html>

